/**
 * This file is part of mycollab-localization.
 *
 * mycollab-localization is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * mycollab-localization is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with mycollab-localization.  If not, see <http://www.gnu.org/licenses/>.
 */
package com.esofthead.mycollab.module.project.i18n;

import ch.qos.cal10n.BaseName;
import ch.qos.cal10n.Locale;
import ch.qos.cal10n.LocaleData;

/**
 * 
 * @author MyCollab Ltd.
 * @since 4.3.3
 *
 */
public class OptionI18nEnum {
	public static TaskPriority[] task_priorities = { TaskPriority.Urgent,
			TaskPriority.High, TaskPriority.Medium, TaskPriority.Low,
			TaskPriority.None };

	public static BugStatus[] bug_statuses = { BugStatus.Open,
			BugStatus.InProgress, BugStatus.Verified, BugStatus.Resolved,
			BugStatus.ReOpened };

	public static BugPriority[] bug_priorities = { BugPriority.Blocker,
			BugPriority.Critical, BugPriority.Major, BugPriority.Minor,
			BugPriority.Trivial };

	public static BugSeverity[] bug_severities = { BugSeverity.Critical,
			BugSeverity.Major, BugSeverity.Minor, BugSeverity.Trivial };

	public static BugResolution[] bug_resolutions = { BugResolution.Fixed,
			BugResolution.Won_Fix, BugResolution.Duplicate,
			BugResolution.Incomplete, BugResolution.CannotReproduce,
			BugResolution.WaitforVerification, BugResolution.Newissue,
			BugResolution.ReOpen };

	@BaseName("localization/project-milestone-status")
	@LocaleData(value = { @Locale("en-US"), @Locale("ja-JP") }, defaultCharset = "UTF-8")
	public static enum MilestoneStatus {
		Future, Closed, InProgress
	}

	@BaseName("localization/project-task-priority")
	@LocaleData(value = { @Locale("en-US"), @Locale("ja-JP") }, defaultCharset = "UTF-8")
	public static enum TaskPriority {
		Urgent, High, Medium, Low, None
	}

	@BaseName("localization/project-bug-status")
	@LocaleData(value = { @Locale("en-US"), @Locale("ja-JP") }, defaultCharset = "UTF-8")
	public static enum BugStatus {
		Open, InProgress, Verified, Resolved, ReOpened
	}

	@BaseName("localization/project-bug-priority")
	@LocaleData(value = { @Locale("en-US"), @Locale("ja-JP") }, defaultCharset = "UTF-8")
	public static enum BugPriority {
		Blocker, Critical, Major, Minor, Trivial
	}

	@BaseName("localization/project-bug-severity")
	@LocaleData(value = { @Locale("en-US"), @Locale("ja-JP") }, defaultCharset = "UTF-8")
	public static enum BugSeverity {
		Critical, Major, Minor, Trivial
	}

	@BaseName("localization/project-bug-resolution")
	@LocaleData(value = { @Locale("en-US"), @Locale("ja-JP") }, defaultCharset = "UTF-8")
	public static enum BugResolution {
		Fixed,
		Won_Fix,
		Duplicate,
		Incomplete,
		CannotReproduce,
		WaitforVerification,
		Newissue,
		ReOpen
	}

    @BaseName("localization/project-bug-related")
    @LocaleData(value = { @Locale("en-US"), @Locale("ja-JP") }, defaultCharset = "UTF-8")
    public static enum BugRelation {
        Related, Duplicated, Block
    }
}
